From cbb213b778fa8bccf5c9cef42044a3f777ab085b Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Thu, 3 Sep 2009 07:19:15 +0000 Subject: [PATCH] 2009-09-03 Carsten Dominik * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are referencing the start of the line. --- lisp/org/org-agenda.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el index c776e33c38d..feea27dfb1e 100644 --- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el @@ -2573,7 +2573,9 @@ bind it in the options section.") :from 'todo :to 'done))))))) (if org-blocked-by-checkboxes (setq invis1 nil)) - (setq b (if invis1 (max (point-min) (1- (point))) (point)) + (setq b (if invis1 + (max (point-min) (1- (point-at-bol))) + (point-at-bol)) e (point-at-eol) ov (org-make-overlay b e)) (if invis1 -- 2.30.2